<script>
import Api from './api/api';
export default {
	onLaunch: function() {
		this.$Global.user = uni.getStorageSync('user');
		if(this.$Global.user&&this.$Global.user.token!='')
        {
            Api.setToken(this.$Global.user.token)
        }
		console.log('App Launch',this.$Global.user);
	},
	onShow: function() {
		console.log('App Show');
	},
	onHide: function() {
		console.log('App Hide');
	}
};
</script>

<style>
/*每个页面公共css */ 
</style>
